<!DOCTYPE html>
<html ng-app="businessApp">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="viewport-fit=cover, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <title>kumhosunny</title>
    <!-- 图标样式 -->
    <link href="/Portal/Mobile/css/ionic.app.min.css?v=201901051636" rel="stylesheet">
    <link href="/Portal/Mobile/css/newSelf.css?v=201901051636" rel="stylesheet">
    <link href="/Portal/Mobile/css/font-awesome/font-awesome.min.css?v=201901051636" rel="stylesheet">
    <link rel="manifest" href="manifest.json?v=201901051636">
    <link href="/Portal/Mobile/css/fonts.css?v=201901051636" rel="stylesheet">
    <link href="/Portal/Mobile/css/cccg-font/iconfont-color.min.css" rel="stylesheet">
    <link href="/Portal/Mobile/css/cccg-font/iconfont.min.css" rel="stylesheet">
    <link href="/Portal/Mobile/lib/ion-datetime-picker/release/ion-datetime-picker.min.css?v=201901051636" rel="stylesheet">
</head>

<body >
<div  ng-controller="MyCtrl">

    <ion-header-bar class="bar-positive">
    <div class="buttons">

    </div>
    <h1 class="title">商机列表</h1>
    <div class="buttons">
         <button class="button" ng-click="skipAdd()">
            新增
        </button>
    </div>

    </ion-header-bar>


<ion-content >


    <ion-list  >
        <div class="bar bar-header item-input-inset">
            <label class="item-input-wrapper">
                <i class="icon ion-ios-search placeholder-icon"></i>
                <input type="search" ng-change="searchAndrefresh()" ng-model="sub.clientData" placeholder="搜索">
            </label>
            <button class="button"  ng-click="clearContent()">
              取消
            </button>
        </div>
        <ion-item ng-repeat="item in items"
                  item="item"
                  href="/Portal/MvcDefaultSheet.jsp?BizObjectID={{ item.objectId }}&IsMobile=true&SchemaCode=businessOpportunity&SheetCode=SbusinessOpportunity&Mode=View" class="item-remove-animate">
            <span style="font-size: 15px;line-height:30px;">机会名称:{{ item.businessOpportunityName }}</span><br/>
            <span style="font-size: 15px">客户名称:{{ item.customerName }}</span><br/>
            <span style="font-size: 15px;line-height:30px;">联系方式:{{ item.mobile }}</span>


            <ion-option-button class="button-assertive"
                               ng-click="edit(item)">
                编辑
            </ion-option-button>


        </ion-item>

    </ion-list>

</ion-content>

</div>
</body>


<script src="/Portal/Mobile/js/LAB.min.js"></script>
<!-- ionic/angularjs js -->
<script src="/Portal/Mobile/lib/ionic/js/ionic.bundle.min.js?v=201901051636"></script>
<script src="/Portal/Mobile/lib/ngCordova/ng-cordova.js?v=201901051636"></script>
<!-- Mark by ousihang 用于独立APP,在PC打包可注释此行 -->
<!-- 时间插件 -->
<script src="/Portal/Mobile/lib/ion-datetime-picker/release/ion-datetime-picker.min.js?v=201901051636"></script>

<script src="/Portal/Mobile/js/dingTalk.js?v=201901051636"></script>
<script src="/Portal/Mobile/js/app.js?v=201901051636"></script>
<script src="/Portal/Mobile/js/config.js?v=201901051636"></script>
<script src="/Portal/Mobile/js/controllers.js?v=201901051636"></script>
<script src="/Portal/Mobile/js/service/services.js?v=201901051636"></script>
<script src="/Portal/Mobile/js/service/httpService.js?v=201901051636"></script>
<script src="/Portal/Mobile/js/services.js?v=201901051636"></script>
<script src="/Portal/Mobile/js/service/sheetUserService.js?v=201901051636"></script>
<!--rem布局-->
<script src="/Portal/Mobile/js/flexible.js?v=201901051636"></script>
<script src="/Portal/Mobile/form/jquery-2.1.3.min.js?v=201901051636"></script>
<!--<script src="../vendor/bootstrap-3.3.7-dist/js/bootstrap.min.js"></script>-->
<script src="/Portal/Mobile/lib/bootstrap/bootstrap-select.min.js?v=201901051636"></script>

<script src="/Portal/Mobile/kumhosunny/js/businessApp.js"></script>

<script src="/Portal/Mobile/lib/angular-bootstrap/ui-bootstrap-tpls.js?v=201901051636"></script>
<script src="/Portal/Mobile/lib/angular/angular.js?v=201901051636"></script>
<script src="/Portal/Mobile/lib/angular-ui-load/ui-load.js?v=201901051636"></script>
<script src="/Portal/Mobile/lib/bootstrap/bootstrap.min.js?v=201901051636"></script>
<script src="/Portal/Mobile/lib/oclazyload/ocLazyLoad.js?v=201901051636"></script>
<script src="/Portal/Mobile/lib/angular-ui-jq/ui-jq.js?v=201901051636"></script>
<script src="/Portal/Mobile/js/config.lazyload.js?v=201901051636"></script>
<script src="/Portal/Mobile/js/userDirectives.js?v=201901051636"></script>
<script src="/Portal/Mobile/lib/util/md5.js?v=201901051636"></script>
<!--<script src="js/aes.js"></script>-->
<script>
    //动态给body的子元素加高度解决软键盘页面高度变化问题
    $(document).ready(function () {
        $("body>.view-container").css("height", $(window).height());
        // console.log("主页：" + window.location.href);
    });
</script>
</html>
